import request from "./http";

//   详情页id
// https://www.yixuela.com/web/video/getDetail?id=12413
// id=12413

// 获取接口数据
export function getVideoJsonData(params) {
    return request({
        url: "/web/video/getDetail",
        method: "get",
        params
    })
}

// https://www.yixuela.com/web/video/getRecommendList

export function getRecommendList(){
    return request({
        url: "/web/video/getRecommendList",
        method: "get",
    })
}

// https://www.yixuela.com/web/video/getInfo?id=359

export function getList(params){
    return request({
        url: "/web/video/getInfo",
        method: "get",
        params
    })
}
